package com.itheima.demo04;

public class Test {
    public static void main(String[] args) {
        // 讲师
        System.out.println("============讲师==========");
        Lecturer l1 = new Lecturer("001", "张三");
        System.out.println(l1.getId() + ", " + l1.getName());
        l1.work();

        // 助教
        System.out.println("============助教==========");
        Tutor t1 = new Tutor();
        t1.setId("002");
        t1.setName("李四");
        System.out.println(t1.getId() + ", " + t1.getName());
        t1.work();

        // 维护人员
        System.out.println("========维护人员======");
        Maintain m1 = new Maintain("003", "王五");
        System.out.println(m1.getId() + ", " + m1.getName());
        m1.work();

        // 采购人员
        System.out.println("========采购人员======");
        Buyer b1 = new Buyer("004", "赵六");
        System.out.println(b1.getId() + ", " + b1.getName());
        b1.work();


    }
}
